package cn.edu.cqu.actions.authority.jquery;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Actions;
import org.apache.struts2.convention.annotation.Result;
import org.apache.struts2.convention.annotation.Results;

import com.opensymphony.xwork2.ActionSupport;
@org.apache.struts2.convention.annotation.ParentPackage(value="showcase")
//@Actions({
//	//这里的url是去掉namespace之后的。。
//	@Action(value="1/local")//这里写的是action的名字，不需要加后缀
//    //,
//    //@Action("/")
//  })
@Action(value="easy")
@Results({
    @Result(name =  com.opensymphony.xwork2.Action.SUCCESS, location = "localtab.jsp"),
})
public class EasyAction extends ActionSupport{
    public String execute() throws Exception {
        return SUCCESS;
    }
}

